package com.ecommerce.dal.dao;

import java.util.List;

import com.ecommerce.dal.entity.Category;

public interface ICategoryDAO {
	void save(Category category);
	void update(Category category);
	void delete(Category category);
	Category findByCategoryId(long categoryId);
	Category findByCategoryName(String categoryName);
	List<Category> findAllCategories();
	List<Category> findAllSubCategories(long categoryId);
	

}
